<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct callback_info</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../index.html" title="ODTONE 0.4">
<link rel="up" href="../../odtone_net_library.html#header..home.carlos.Projectos.odtone.inc.odtone.net.dns.resolver_hpp" title="Header &lt;/home/carlos/Projectos/odtone/inc/odtone/net/dns/resolver.hpp&gt;">
<link rel="prev" href="query.html" title="Struct query">
<link rel="next" href="resolver.html" title="Class resolver">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="'ODTONE - Open Dot Twenty One'" width="100" height="100" src="../.././images/logo.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="query.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../odtone_net_library.html#header..home.carlos.Projectos.odtone.inc.odtone.net.dns.resolver_hpp"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="resolver.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="odtone.dns.callback_info"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct callback_info</span></h2>
<p>odtone::dns::callback_info</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../odtone_net_library.html#header..home.carlos.Projectos.odtone.inc.odtone.net.dns.resolver_hpp" title="Header &lt;/home/carlos/Projectos/odtone/inc/odtone/net/dns/resolver.hpp&gt;">/home/carlos/Projectos/odtone/inc/odtone/net/dns/resolver.hpp</a>&gt;

</span>
<span class="keyword">struct</span> <a class="link" href="callback_info.html" title="Struct callback_info">callback_info</a> <span class="special">{</span>

  <span class="comment">// <a class="link" href="callback_info.html#odtone.dns.callback_infopublic-data-members">public data members</a></span>
  <span class="keyword">void</span> <span class="special">*</span> <a class="link" href="callback_info.html#odtone.dns.callback_info.context"><span class="identifier">context</span></a><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="callback_info.html#odtone.dns.callback_info.name"><span class="identifier">name</span></a><span class="special">;</span>
  <span class="keyword">enum</span> <span class="identifier">dns_query_type</span> <a class="link" href="callback_info.html#odtone.dns.callback_info.query_type"><span class="identifier">query_type</span></a><span class="special">;</span>
  <span class="keyword">enum</span> <span class="identifier">dns_status</span> <a class="link" href="callback_info.html#odtone.dns.callback_info.error"><span class="identifier">error</span></a><span class="special">;</span>
  <a class="link" href="message.html" title="Class message">message</a> <a class="link" href="callback_info.html#odtone.dns.callback_info.dns_message"><span class="identifier">dns_message</span></a><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="idp19641080"></a><h2>Description</h2>
<p>Structure that is passed to the applciation callback, which as several information about the query performed. </p>
<div class="refsect2">
<a name="idp19641536"></a><h3>
<a name="odtone.dns.callback_infopublic-data-members"></a><code class="computeroutput">callback_info</code> 
        public
       public data members</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <span class="special">*</span> <a name="odtone.dns.callback_info.context"></a><span class="identifier">context</span><span class="special">;</span></pre>
<p>Context. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="odtone.dns.callback_info.name"></a><span class="identifier">name</span><span class="special">;</span></pre>
<p>Requested host name. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">enum</span> <span class="identifier">dns_query_type</span> <a name="odtone.dns.callback_info.query_type"></a><span class="identifier">query_type</span><span class="special">;</span></pre>
<p>Query type. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">enum</span> <span class="identifier">dns_status</span> <a name="odtone.dns.callback_info.error"></a><span class="identifier">error</span><span class="special">;</span></pre>
<p>Error type. </p>
</li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="message.html" title="Class message">message</a> <a name="odtone.dns.callback_info.dns_message"></a><span class="identifier">dns_message</span><span class="special">;</span></pre>
<p>Response DNS message. </p>
</li>
</ol></div>
</div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2009-2012 Universidade
      Aveiro<br>Copyright &#169; 2009-2012 Instituto
      de Telecomunica&#231;&#245;es - P&#243;lo Aveiro<p>
        This software is distributed under a license. The full license agreement
        can be found in the LICENSE in this distribution. This software may not be
        copied, modified, sold or distributed other than expressed in the named license
        agreement. This software is distributed without any warranty.
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="query.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../odtone_net_library.html#header..home.carlos.Projectos.odtone.inc.odtone.net.dns.resolver_hpp"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="resolver.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>
